import './assets/index.css'

import { createApp } from 'vue'
import App from './App.vue'
import { library } from '@fortawesome/fontawesome-svg-core'
import { faUserSecret } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import router from './router.js'

import TDesign from 'tdesign-vue-next';
// 引入组件库的少量全局样式变量
import 'tdesign-vue-next/es/style/index.css';
library.add(faUserSecret)

const app = createApp(App)
app.component(FontAwesomeIcon)
app.use(router)
app.provide('router', router);

app.use(TDesign);
app.mount('#app')
